By using Stats4U you agree that Stats4U uses cookies for the sign in process and that Stats4U stores cookies on the computer of your users. Read more in our privacy policy.
Stats4U.net - Free live website statistics, real-time analytics and counters!
Stats4U
Stats4UStats4U.net - Free live website statistics, real-time analytics and counters!
Stats4U
 
Stats4U
English Deutsch Polski Español

Blog

Stats4U.net
Stats4U.net
« Back

7 Steps to Implement Stats4U into the Google Tag Manager

Author: Tomasz Błyszczyński (27. July 2015)

When you have a Google Tag Manager Container embedded on your website, this article is for you!


This article shows you how to embed a stats counter from Stats4U into your Google Tag Manager Container. First of all let me describe the different stats counter that we have on our site.


  • 1. The invisible Counter

  • Stats4U offers an invisible counter. When you go to the main page of Stats4U.net you can pick an invisible counter right away. Select wether you want to have a stats icon which will open your statistics when you click on it or wether not:


2. Stats Counter with Visitor count

You can implement a real "counter" on your site which will increase with each visit.
When you pick a counter with image you will get an output on your website, wherever you have implemented the Google Tag Manager Container:



We recommend to use the first option with the Google Tag Manager because you can have the GTM implemented in various places and can't control where your Stats image will be shown.


Pass the code to the Tag Manager

When you've picked your counter style you can simply pass the code into the Google Tag Manager.

1. Copy the desired code:



2. Create a new Tag in your Container



3. Choose "Custom HTML Code":



4. Paste the copied Stats4U Code into the Tag



5. Pick document write



6. Select firing rule "All pages"


7. Save & Publish!


You are now ready and set up! Your counter is now tracking the visitors on your site.
Check back on our blog for more insights and features in the future!


Comments


New comment:

Name:
URL:
Comment:
Code:
Reload Image
 


  • User's Tab shows now active / inactive and offline users
  • First Windows 10 Users coming in!
  • 7 Steps to Implement Stats4U into the Google Tag Manager
  • Flag Counter Wizard
  • New Flag Counters and site speed stats
  • New iOS and Android Version charts and ToS change
  • New OSs, Browsers and stats
  • Firefox Versions
  • New live stats!
  • Stats4U World Maps and improvements
  • Wizard possibilities
  • Toplist improvements
  • New counter globes
  • New account management system